package com.example.keycloakdemo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LocalController {
   @GetMapping("/")
   public String withoutLogin() {
       return "未登录可以看到此页面";
   }
   @GetMapping("/local")
   public String login() {
       return "您已登录local应用";
   }    
}
